﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class CustomersService
	{
		private static readonly CustomersDAL db = new CustomersDAL();
		#region[Customers_GetById]
		public static DataTable Customers_GetById(string Data)
		{
			return db.Customers_GetById(Data);
		}
		#endregion
        #region[Customers_GetById]

        #endregion
		#region[Customers_GetByAll]
		public static DataTable Customers_GetByAll()
		{
			return db.Customers_GetByAll();
		}
		#endregion
		#region[Customers_GetByTop]
		public static DataTable Customers_GetByTop(string Top, string Where, string Order)
		{
			return db.Customers_GetByTop(Top, Where, Order);}
		#endregion
		#region[Customers_Insert]
		public static void Customers_Insert(CustomersInfo Data)
		{
			 db.Customers_Insert(Data);
		}
		#endregion
		#region[Customers_Update]
		public static void Customers_Update(CustomersInfo Data)
		{
			 db.Customers_Update(Data);
		}
		#endregion
		#region[Customers_Delete]
		public static void Customers_Delete(string Data)
		{
			 db.Customers_Delete(Data);
		}
		#endregion
	}
}